Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix evolution logic #870

Merged
merged 3 commits into from
Jul 27, 2016
Merged

Fix evolution logic #870

merged 3 commits into from
Jul 27, 2016

Conversation

integriti
Copy link
Contributor

EvolveAllPokemonAboveIv and EvolveAllPokemonWithEnoughCandy configs share the same task yet do not properly differentiate between the two in the logic.

The logic is now as follows:
If EvolveAllPokemonWithEnoughCandy only true, then it will evolve all in PokemonsToEvolve list.
If EvolveAllPokemonAboveIv only true, then only those above the threshold will be evolved.
If both, evolves all in list and those above the threshold.

This should resolve #810 and #816.

I have also implemented #763, where an empty PokemonsToEvolve list evolves all eligible pokemon.

@NecronomiconCoding NecronomiconCoding merged commit a8c1198 into NecronomiconCoding:master Jul 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants